package com.javase.补充_抽象类与接口.Q2;

public class WarShip extends Weapon{
    @Override
    public void attack() {
        System.out.println("WarShip 开始攻击");
    }

    @Override
    public void move() {
        System.out.println("WarShip 开始移动");
    }
}
